package com.woniu.service;

import com.woniu.dto.HotCommentsDTO;
import com.woniu.dto.HotDetailDTO;
import com.woniu.dto.HotListDTO;
import com.woniu.pojo.*;

import java.util.Date;
import java.util.List;

public interface HotService {

    void addHot(HotList hotList);

    List<HotListDTO> selectDTOByPage(Integer currentPage, Integer pageSize);

    HotDetailDTO selectHotDetail(Long hotId);

    HotListDetail selectHot(Long hotId, Long userId);

    Integer selectRealNum(Long hotId);

    Integer selectPersonNum(Long hotId);

    void hotApply(HotListDetail detail);

    void hotCollect(Long hotId, Long userId);

    HotCollect selectHotCollect(Long hotId, Long userId);

    void reduceHotCollect(Long hotId, Long userId);

    List<HotCommentsDTO> selectHotComment(Long hotId);

    void addHotComment(HotComments comments);

    List<String> selectHotPerson(Long hotId);

    void addReport(Complain complain);

    Date selectTime(Long hotId);

    List<HotListDTO> selectFriendHot(List<Long> friendsId);

    HotList selectHotShow(Long hotId);

    Date selectStartTime(Long id);

    void updateHot(HotList hotList);

    Date selectHotEndTime(Long hotId);

    void deleteHot(Long hotId);

    void deleteComment(Long commentId);

    List<HotListDTO> selectLastestHot();
}
